projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cca34
)
odroid: Turn blue LED on
author
Suriyan Ramasami
<
[email protected]
>
Mon, 24 Nov 2014 06:15:32 +0000
(22:15 -0800)
committer
Minkyu Kang
<
[email protected]
>
Mon, 24 Nov 2014 06:53:34 +0000
(15:53 +0900)
To indicate that U-Boot is active, turn on the blue LED.
Signed-off-by: Suriyan Ramasami <
[email protected]
>
Acked-by: Przemyslaw Marczak <
[email protected]
>
Signed-off-by: Minkyu Kang <
[email protected]
>
board/samsung/odroid/odroid.c
patch
|
blob
|
history
diff --git
a/board/samsung/odroid/odroid.c
b/board/samsung/odroid/odroid.c
index a2c008e76e587984350a91bce04453dd7b802c97..b7d23817e143016688d332fbf1da1acd925fe6c2 100644
(file)
--- a/
board/samsung/odroid/odroid.c
+++ b/
board/samsung/odroid/odroid.c
@@
-383,6
+383,11
@@
static void board_gpio_init(void)
gpio_set_drv(EXYNOS4X12_GPIO_X31, S5P_GPIO_DRV_4X);
gpio_direction_input(EXYNOS4X12_GPIO_X31);
+ /* Blue LED (Odroid X2/U2/U3) */
+ gpio_request(EXYNOS4X12_GPIO_C10, "Blue LED");
+
+ gpio_direction_output(EXYNOS4X12_GPIO_C10, 0);
+
#ifdef CONFIG_CMD_USB
/* USB3503A Reference frequency */
gpio_request(EXYNOS4X12_GPIO_X30, "USB3503A RefFreq");